<?php

define("field_designation","field");

class Form
{
    static public $name;

    static private function isFieldName(&$field)
    {
        return preg_match("/^[a-z0-9]+$/i");
    }
    
    static public function Init()
    {
        if(! Form::$name = Context::$post["form"])
        {
            return;
        }

        /*foreach(Context::$post as $field => $value)
        {
            if($value == field_designation)
            if(Form::isFieldName($field))
            {

            }
        }*/

    }

}

?>
